<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>XSLFPictureShape (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="XSLFPictureShape (POI API Documentation)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/XSLFPictureShape.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/poi/xslf/usermodel/XSLFPictureData.html" title="class in org.apache.poi.xslf.usermodel"><span class="strong">PREV CLASS</span></a></li>
<li><a href="../../../../../org/apache/poi/xslf/usermodel/XSLFRelation.html" title="class in org.apache.poi.xslf.usermodel"><span class="strong">NEXT CLASS</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/poi/xslf/usermodel/XSLFPictureShape.html" target="_top">FRAMES</a></li>
<li><a href="XSLFPictureShape.html" target="_top">NO FRAMES</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>SUMMARY:&nbsp;</li>
<li>NESTED&nbsp;|&nbsp;</li>
<li>FIELD&nbsp;|&nbsp;</li>
<li>CONSTR&nbsp;|&nbsp;</li>
<li><a href="#method_summary">METHOD</a></li>
</ul>
<ul class="subNavList">
<li>DETAIL:&nbsp;</li>
<li>FIELD&nbsp;|&nbsp;</li>
<li>CONSTR&nbsp;|&nbsp;</li>
<li><a href="#method_detail">METHOD</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<p class="subTitle">org.apache.poi.xslf.usermodel</p>
<h2 title="Class XSLFPictureShape" class="title">Class XSLFPictureShape</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../../../../org/apache/poi/xslf/usermodel/XSLFShape.html" title="class in org.apache.poi.xslf.usermodel">org.apache.poi.xslf.usermodel.XSLFShape</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html" title="class in org.apache.poi.xslf.usermodel">org.apache.poi.xslf.usermodel.XSLFSimpleShape</a></li>
<li>
<ul class="inheritance">
<li>org.apache.poi.xslf.usermodel.XSLFPictureShape</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre><a href="../../../../../org/apache/poi/util/Beta.html" title="annotation in org.apache.poi.util">@Beta</a>
public class <strong>XSLFPictureShape</strong>
extends <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html" title="class in org.apache.poi.xslf.usermodel">XSLFSimpleShape</a></pre>
<div class="block">Represents a picture shape</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xslf/usermodel/XSLFPictureShape.html#drawContent(java.awt.Graphics2D)">drawContent</a></strong>(java.awt.Graphics2D&nbsp;graphics)</code>
<div class="block">draw any content within this shape (image, text, etc.).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.awt.Insets</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xslf/usermodel/XSLFPictureShape.html#getBlipClip()">getBlipClip</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xslf/usermodel/XSLFPictureData.html" title="class in org.apache.poi.xslf.usermodel">XSLFPictureData</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xslf/usermodel/XSLFPictureShape.html#getPictureData()">getPictureData</a></strong>()</code>
<div class="block">Return the data on the (internal) picture.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.net.URI</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xslf/usermodel/XSLFPictureShape.html#getPictureLink()">getPictureLink</a></strong>()</code>
<div class="block">For an external linked picture, return the last-seen
  path to the picture.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xslf/usermodel/XSLFPictureShape.html#isExternalLinkedPicture()">isExternalLinkedPicture</a></strong>()</code>
<div class="block">Is this an internal picture (image data included within
  the PowerPoint file), or an external linked picture
  (image lives outside)?</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xslf/usermodel/XSLFPictureShape.html#resize()">resize</a></strong>()</code>
<div class="block">Resize this picture to the default size.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.apache.poi.xslf.usermodel.XSLFSimpleShape">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.poi.xslf.usermodel.<a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html" title="class in org.apache.poi.xslf.usermodel">XSLFSimpleShape</a></h3>
<code><a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#draw(java.awt.Graphics2D)">draw</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#getAnchor()">getAnchor</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#getCTPlaceholder()">getCTPlaceholder</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#getFillColor()">getFillColor</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#getFlipHorizontal()">getFlipHorizontal</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#getFlipVertical()">getFlipVertical</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#getLineCap()">getLineCap</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#getLineColor()">getLineColor</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#getLineDash()">getLineDash</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#getLineHeadDecoration()">getLineHeadDecoration</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#getLineHeadLength()">getLineHeadLength</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#getLineHeadWidth()">getLineHeadWidth</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#getLineTailDecoration()">getLineTailDecoration</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#getLineTailLength()">getLineTailLength</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#getLineTailWidth()">getLineTailWidth</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#getLineWidth()">getLineWidth</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#getNvPr()">getNvPr</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#getRotation()">getRotation</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#getShadow()">getShadow</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#getShapeId()">getShapeId</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#getShapeName()">getShapeName</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#getShapeType()">getShapeType</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#getSheet()">getSheet</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#getSpPr()">getSpPr</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#getSpStyle()">getSpStyle</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#getXmlObject()">getXmlObject</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#setAnchor(java.awt.geom.Rectangle2D)">setAnchor</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#setFillColor(java.awt.Color)">setFillColor</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#setFlipHorizontal(boolean)">setFlipHorizontal</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#setFlipVertical(boolean)">setFlipVertical</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#setLineCap(org.apache.poi.xslf.usermodel.LineCap)">setLineCap</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#setLineColor(java.awt.Color)">setLineColor</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#setLineDash(org.apache.poi.xslf.usermodel.LineDash)">setLineDash</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#setLineHeadDecoration(org.apache.poi.xslf.usermodel.LineDecoration)">setLineHeadDecoration</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#setLineHeadLength(org.apache.poi.xslf.usermodel.LineEndLength)">setLineHeadLength</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#setLineHeadWidth(org.apache.poi.xslf.usermodel.LineEndWidth)">setLineHeadWidth</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#setLineTailDecoration(org.apache.poi.xslf.usermodel.LineDecoration)">setLineTailDecoration</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#setLineTailLength(org.apache.poi.xslf.usermodel.LineEndLength)">setLineTailLength</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#setLineTailWidth(org.apache.poi.xslf.usermodel.LineEndWidth)">setLineTailWidth</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#setLineWidth(double)">setLineWidth</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#setRotation(double)">setRotation</a>, <a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#setShapeType(org.apache.poi.xslf.usermodel.XSLFShapeType)">setShapeType</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.apache.poi.xslf.usermodel.XSLFShape">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.poi.xslf.usermodel.<a href="../../../../../org/apache/poi/xslf/usermodel/XSLFShape.html" title="class in org.apache.poi.xslf.usermodel">XSLFShape</a></h3>
<code><a href="../../../../../org/apache/poi/xslf/usermodel/XSLFShape.html#applyTransform(java.awt.Graphics2D)">applyTransform</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="resize()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resize</h4>
<pre>public&nbsp;void&nbsp;resize()</pre>
<div class="block">Resize this picture to the default size.
 For PNG and JPEG resizes the image to 100%,
 for other types sets the default size of 200x200 pixels.</div>
</li>
</ul>
<a name="isExternalLinkedPicture()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isExternalLinkedPicture</h4>
<pre>public&nbsp;boolean&nbsp;isExternalLinkedPicture()</pre>
<div class="block">Is this an internal picture (image data included within
  the PowerPoint file), or an external linked picture
  (image lives outside)?</div>
</li>
</ul>
<a name="getPictureData()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPictureData</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/poi/xslf/usermodel/XSLFPictureData.html" title="class in org.apache.poi.xslf.usermodel">XSLFPictureData</a>&nbsp;getPictureData()</pre>
<div class="block">Return the data on the (internal) picture.
 For an external linked picture, will return null</div>
</li>
</ul>
<a name="getPictureLink()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPictureLink</h4>
<pre>public&nbsp;java.net.URI&nbsp;getPictureLink()</pre>
<div class="block">For an external linked picture, return the last-seen
  path to the picture.
 For an internal picture, returns null.</div>
</li>
</ul>
<a name="getBlipClip()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBlipClip</h4>
<pre>public&nbsp;java.awt.Insets&nbsp;getBlipClip()</pre>
</li>
</ul>
<a name="drawContent(java.awt.Graphics2D)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>drawContent</h4>
<pre>public&nbsp;void&nbsp;drawContent(java.awt.Graphics2D&nbsp;graphics)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#drawContent(java.awt.Graphics2D)">XSLFSimpleShape</a></code></strong></div>
<div class="block">draw any content within this shape (image, text, etc.).</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html#drawContent(java.awt.Graphics2D)">drawContent</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/poi/xslf/usermodel/XSLFSimpleShape.html" title="class in org.apache.poi.xslf.usermodel">XSLFSimpleShape</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>graphics</code> - the graphics to draw into</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/XSLFPictureShape.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/poi/xslf/usermodel/XSLFPictureData.html" title="class in org.apache.poi.xslf.usermodel"><span class="strong">PREV CLASS</span></a></li>
<li><a href="../../../../../org/apache/poi/xslf/usermodel/XSLFRelation.html" title="class in org.apache.poi.xslf.usermodel"><span class="strong">NEXT CLASS</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/poi/xslf/usermodel/XSLFPictureShape.html" target="_top">FRAMES</a></li>
<li><a href="XSLFPictureShape.html" target="_top">NO FRAMES</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>SUMMARY:&nbsp;</li>
<li>NESTED&nbsp;|&nbsp;</li>
<li>FIELD&nbsp;|&nbsp;</li>
<li>CONSTR&nbsp;|&nbsp;</li>
<li><a href="#method_summary">METHOD</a></li>
</ul>
<ul class="subNavList">
<li>DETAIL:&nbsp;</li>
<li>FIELD&nbsp;|&nbsp;</li>
<li>CONSTR&nbsp;|&nbsp;</li>
<li><a href="#method_detail">METHOD</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>
                <i>Copyright 2014 The Apache Software Foundation or
        its licensors, as applicable.</i>
            </small></p>
</body>
</html>
